import LayoutBase from '@/page/layout/base'
import SliderSystem from '@/page/layout/slider/system'

export default [
  {
    path: '/system',
    component: LayoutBase,
    children: [
      {
        path: '/system',
        component: SliderSystem,
        children: [
          {
            path: '/system/empty',
            name: 'system',
            component: () => import(/* webpackChunkName: "notice" */'@/views/system/empty'),
            meta: {title: ''}
          },
          {
            path: '/setUp/system/user',
            name: 'system',
            component: () => import(/* webpackChunkName: "notice" */'@/views/system/user'),
            meta: {title: '用户管理'}
          },
          {
            path: '/setUp/system/dept',
            name: 'dept',
            component: () => import(/* webpackChunkName: "notice" */'@/views/system/dept'),
            meta: {title: '机构管理'}
          },
          {
            path: '/setUp/system/dict',
            name: 'dict',
            component: () => import(/* webpackChunkName: "notice" */'@/views/system/dict'),
            meta: {title: '字典管理'}
          },
          {
            path: '/setUp/system/message',
            name: 'dict',
            component: () => import(/* webpackChunkName: "notice" */'@/views/message/list'),
            meta: {title: '消息管理'}
          },
          { // 新增消息
            path: '/setUp/message/add',
            name: 'dict',
            component: () => import(/* webpackChunkName: "notice" */'@/views/message/addMessage'),
            meta: {title: '消息管理'}
          },
          {
            path: '/setUp/system/menu',
            name: 'menu',
            component: () => import(/* webpackChunkName: "notice" */'@/views/system/menu'),
            meta: {title: '菜单管理'}
          },
          {
            path: '/setUp/system/topmenu',
            name: 'topmenu',
            component: () => import(/* webpackChunkName: "notice" */'@/views/system/topmenu'),
            meta: {title: '顶部菜单'}
          },
          {
            path: '/setUp/system/param',
            name: 'param',
            component: () => import(/* webpackChunkName: "notice" */'@/views/system/param'),
            meta: {title: '参数管理'}
          },
          {
            path: '/setUp/system/tenant',
            name: 'tenant',
            component: () => import(/* webpackChunkName: "notice" */'@/views/system/tenant'),
            meta: {title: '企业管理'}
          },
          {
            path: '/setUp/system/client',
            name: 'client',
            component: () => import(/* webpackChunkName: "notice" */'@/views/system/client'),
            meta: {title: '应用管理'}
          },
          {
            path: '/setUp/system/cityDict',
            name: 'cityDict',
            component: () => import(/* webpackChunkName: "notice" */'@/views/system/cityDict'),
            meta: {title: '城市通用'}
          },
          {
            path: '/setUp/system/companyDict',
            name: 'companyDict',
            component: () => import(/* webpackChunkName: "notice" */'@/views/system/companyDict'),
            meta: {title: '单位字典'}
          },
          {
            path: '/setUp/system/countryDict',
            name: 'countryDict',
            component: () => import(/* webpackChunkName: "notice" */'@/views/system/countryDict'),
            meta: {title: '国家/地区通用字典'}
          },
          {
            path: '/setUp/system/generalDict',
            name: 'generalDict',
            component: () => import(/* webpackChunkName: "notice" */'@/views/system/generalDict'),
            meta: {title: '通用字典'}
          },
          //  顶部菜单路由集合

          {
            path: '/setUp/system/watermark', //水印设置
            name: 'journal',
            component: () => import(/* webpackChunkName: "notice" */'@/views/system/watermark'),
            meta: {title: '个人信息'}
          },
          {
            path: '/setUp/system/rate', //汇率设置
            name: 'journal',
            component: () => import(/* webpackChunkName: "notice" */'@/views/system/rate'),
            meta: {title: '汇率管理'}
          },
          {
            path: '/system/customer',
            name: 'customer',
            component: () => import(/* webpackChunkName: "notice" */'@/views/system/set/customer'),
            meta: {title: '客户设置'}
          },
        ]
      }
    ],
  }
]
